{include file="public/header"}
<body>
<style>
    .layui-form-label{
        width: 200px;
    }
    .layui-input{
        width:70%;
    }
</style>
<form class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label"> 活动标题</label>
        <div class="layui-input-block">
            <input type="text" value="{$list['title']}" name="time" placeholder="活动标题"  class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"> 活动内容</label>
        <div class="layui-input-block">
            <input type="text" name="count" required  value="{$list['content']}" placeholder="活动内容" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">活动人数</label>
        <div class="layui-input-block">
            <input type="text" name="count" required  value="{$list['person']}" placeholder="活动内容" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">活动状态</label>
        <div class="layui-input-block">
            <input type="text" name="count" required  value="{$list['status']}" placeholder="活动状态" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否支付</label>
        <div class="layui-input-block">
            <input type="text" name="team_num" required value="{$list['order']['status']}" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">发起人</label>
        <div class="layui-input-block">
            <input type="text" name="team_num" required value="{$list['user']['name']}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" type="button" onclick="pass('{$list["id"]}')" >审核通过</button>
        </div>
    </div>

</form>


{include file="public/footer"}

<script>
    function pass(id) {
        var params  = {
            url : "{:url('pass')}",
            data: {"id":id},
            type: 'post',
            sCallback:function(res){
                dialog.success(res.msg,location.reload());
            }
        };
        common.request(params);
    }
</script>

</body>
</html>